package com.gph.saviorframework.fastdfs.monitor.service;

import com.gph.saviorframework.fastdfs.monitor.model.WarningData;

import java.io.IOException;
import java.util.List;

/**
 * Created by root on 16-6-25.
 */
public interface WarningService {

    void updateWarning(WarningData wd) throws IOException;

    List<WarningData> findWarning() throws IOException ;

    List<WarningData> findWarning(WarningData wd) throws IOException;

    WarningData findById(String id) throws IOException;

    void delWarning(String id)throws IOException;

    List<WarningData> findByIp(String ip) throws IOException;
}
